package com.example.demo.security.model;

import java.security.Timestamp;

public class AdminRole {
    private int id;
    private int pid;
    private String url;
    private String title;
    private String identification;
    private Timestamp createtime;

    public AdminRole() {
    }

    public AdminRole(int id, int pid, String url, String title, String identification, Timestamp createtime) {
        this.id = id;
        this.pid = pid;
        this.url = url;
        this.title = title;
        this.identification = identification;
        this.createtime = createtime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIdentification() {
        return identification;
    }

    public void setIdentification(String identification) {
        this.identification = identification;
    }

    public Timestamp getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "AdminRole{" +
                "id=" + id +
                ", pid=" + pid +
                ", url='" + url + '\'' +
                ", title='" + title + '\'' +
                ", identification='" + identification + '\'' +
                ", createtime=" + createtime +
                '}';
    }
}
